KoneMutableMapNode

Represents a node in the inner structure of KoneMutableMap. See KoneMapNode for general definition.

See also

Properties

Link copied to clipboard
abstract val isDetached: Boolean

Indicates if the node is detached from the structure it was a part of.

Link copied to clipboard
abstract override val key: Key

Returns key corresponding to that node.

Link copied to clipboard
abstract override var value: Value

Returns value corresponding to that node. Change of the value changes the corresponding value in the structure.

Functions

Link copied to clipboard
operator fun <Key> KoneMapEntry<Key, *>.component1(): Key
Link copied to clipboard
operator fun <Value> KoneMapEntry<*, Value>.component2(): Value
Link copied to clipboard
abstract fun remove()

Removes the corresponding place from the heap and detaches the node.